import _fetch from './request.js'

function toLogin(data) {
    return _fetch({
        url:'/login',
        method:'post',
        data
    })
}

export {toLogin}